<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - 唯品会</title>
    <link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/auth.css">
</head>
<body>
    <header class="header">
        <div class="logo">唯品会</div>
        <nav class="user-nav">
            <a href="index.html">返回首页</a>
        </nav>
    </header>

    <div class="auth-container">
        <h2 class="auth-title">会员登录</h2>
        <form id="loginForm">
            <div class="form-group">
                <label for="username">用户名/手机号</label>
                <input type="text" id="username" name="username" required>
                <div class="error-message" id="usernameError"></div>
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" name="password" required>
                <div class="error-message" id="passwordError"></div>
            </div>
            <button type="submit" class="auth-btn">登录</button>
        </form>
        <div class="auth-link">
            还没有账号？<a href="register.html">立即注册</a>
        </div>
    </div>

    <script src="js/auth.js"></script>
</body>
</html>